package com.gzz.orchid.common.core.exception;

/**
 * 未登录异常
 */
public class NotLoginException extends RuntimeException {
    /**
     * 错误编码
     */
    protected Integer code = 206;

    public NotLoginException(String message) {
        super(message);
    }

    public NotLoginException(String message, Throwable throwable) {
        super(message, throwable);
    }


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

}